<%@page language="java"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
 function fillComboBoxOnLoad()
 {
    
       
	 var selecTag =  document.getElementById('selectionTag').value 
	 var index =  document.getElementById('index').value 
	
	 if(selecTag == 'first') 
	 {
	    showtag('ttags')
	  }   
	 if(selecTag == 'second') 
	 {
	   showmember('member')
	 
	 }
	 if(selecTag == 'third') 
	 {
	   showwebsites('websites')
	  
	 }  
	  
    var currentDate = new Date();  
    var day =   currentDate.getDay();
    var testDate = new Date();
    var tempdate;
    switch (day)
	{
	case 0:
	   tempdate = currentDate.getTime()-(6*86400000);
	   testDate.setTime(tempdate);	   
	   break;
	case 1:
	   tempdate = currentDate.getTime()-(7*86400000);
	   testDate.setTime(tempdate);	   
	    break;
	case 2:
	   tempdate = currentDate.getTime()-(8*86400000);
	   testDate.setTime(tempdate);	   
	   break;
	case 3:
	   tempdate = currentDate.getTime()-(9*86400000);
	   testDate.setTime(tempdate);	   
	   break;
	case 4:
	   tempdate = currentDate.getTime()-(10*86400000);
	   testDate.setTime(tempdate);	
	    break;
	case 5:
	   tempdate = currentDate.getTime()-(11*86400000);
	   testDate.setTime(tempdate);	
	   break;
	case 6:   
	   tempdate = currentDate.getTime()-(12*86400000);
	   testDate.setTime(tempdate);	
	   break;
    }   
    
     var len = document.forms['testform'].select.options.length;
     var len1 = document.forms['testform1'].select1.options.length;
     var len2 = document.forms['testform2'].select2.options.length;
     var str = testDate.getDate() + "-" + (testDate.getMonth()+1) + "-" + testDate.getYear();
     document.forms['testform'].select.options[len] = new Option('Week of ' + str + ' [last week]',str);
     document.forms['testform1'].select1.options[len1] = new Option('Week of ' + str + ' [last week]',str);
     document.forms['testform2'].select2.options[len2] = new Option('Week of ' + str + ' [last week]',str);
     for(var i =1 ; i<=9;i++)
     { 
       len = len + 1;
       len1 = len1 + 1;
       len2 = len2 + 1;
       tempdate = testDate.getTime()-(7*86400000);
	   testDate.setTime(tempdate);
	   str = testDate.getDate() + "-" + (testDate.getMonth()+1) + "-" + testDate.getYear();
	   document.forms['testform'].select.options[len] = new Option('Week of ' + str + ' ['+(i+1)+']',str);
	   document.forms['testform1'].select1.options[len1] = new Option('Week of ' + str + ' ['+(i+1)+']',str);
	   document.forms['testform2'].select2.options[len2] = new Option('Week of ' + str + ' ['+(i+1)+']',str);
	  	  
     }
   
   if(index != "null")
	{
	
    document.forms['testform'].select.selectedIndex = index
    document.forms['testform1'].select1.selectedIndex = index
    document.forms['testform2'].select2.selectedIndex = index
    }  
   
 }
function changeCombo(selection)
{
   
    
   var test = document.getElementById('tabName').value
   
  if((test == 'first'))
   {    
     var date = document.forms['testform'].select.value; 
     var index = document.forms['testform'].select.selectedIndex
     window.location.replace("topweekaction.do?tagSelection=first&&index="+index+"&&date="+date);
          
   }
   if((test == 'second'))
     {
        var date = document.forms['testform1'].select1.value
        var index =  document.forms['testform1'].select1.selectedIndex
        window.location.replace("topweekaction.do?tagSelection=second&&index="+index+"&&date="+date)
     }
    if((test == 'third'))
     {
     var date = document.forms['testform2'].select2.value
     var index = document.forms['testform2'].select2.selectedIndex
     window.location.replace("topweekaction.do?tagSelection=third&&index="+index+"&&date="+date)
     }    
   
}

</script>
</head>

<body onload="fillComboBoxOnLoad()">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="left" valign="top">
    <td bgcolor="#CCCCCC">&nbsp;</td>
    <td bgcolor="#CCCCCC">&nbsp;</td>
    <td bgcolor="#CCCCCC">&nbsp;</td>
  </tr>
  <tr align="left" valign="top">
    <td width="50%" bgcolor="#CCCCCC">&nbsp;</td>
    <td bordercolor="#FFFFFF"><table border="0" cellpadding="3" cellspacing="0" bordercolor="#000000">
      <tr>
        <td><table align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="1039" colspan="2" align="left" valign="top"><img src="image/img_header.jpg" width="770" height="1"></td>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top"><%@include file="header.jsp" %></td>
            </tr>
            <tr align="center">
              <td colspan="2" valign="top" class="star">&nbsp;</td>
            </tr>
            <tr align="center">
              <td colspan="2" valign="top" class="star"><strong>Tops</strong></td>
            </tr>
            <tr align="center">
              <td colspan="2" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr align="left" valign="middle">
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td colspan="3"><img src="image/img_t_width_differ.jpg" width="500" height="1"></td>
                    </tr>
                  <tr align="left" valign="middle">
                    <td valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr align="left" valign="top">
                        <td width="8"><img src="jsp/web/image/B_TABLE_C1.jpg" width="8" height="21"></td>
                        <td width="80" align="left" valign="middle" background="jsp/web/image/B_TABLE_TOP_BG.jpg" class="username"><img src="jsp/web/image/B_CAN-YOU-ANSWER-THIS.jpg" width="173" height="21"></td>
                        <td width="179" background="jsp/web/image/B_TABLE_TOP_BG.jpg"><img src="jsp/web/image/B_TABLE_TOP_BG.jpg" width="8" height="21"></td>
                        <td width="8"><img src="jsp/web/image/B_TABLE_C4.jpg" width="8" height="21"></td>
                      </tr>
                      <tr align="left" valign="top">
                        <td background="jsp/web/image/B_TABLE_LEFT_BG.jpg"><img src="jsp/web/image/B_TABLE_LEFT_BG.jpg" width="8" height="21"></td>
                        <td colspan="2" bgcolor="#EDFBFE"><table border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr align="left" valign="top">
                            <td colspan="2"><img src="jsp/web/image/WIDTH_BLUE.jpg" width="250" height="8"></td>
                          </tr>
                          <tr align="left" valign="top">
                            <td align="center" valign="middle">&nbsp;</td>
                            <td class="login_b-l">&nbsp;</td>
                          </tr>
                          <tr align="left" valign="top">
                            <td align="center" valign="middle">&nbsp;</td>
                            <td class="login_b-l">Could You answer this question that is selected by interest profile? </td>
                          </tr>
                          <tr align="left" valign="top" class="username">
                            <td>&nbsp;</td>
                            <td class="gray_notthin">&nbsp;</td>
                          </tr>
                          <tr align="left" valign="top" class="username">
                            <td>username</td>
                            <td class="gray_notthin">&nbsp;&nbsp;5 minutes agos</td>
                          </tr>
                          <tr align="left" valign="top">
                            <td colspan="2">&nbsp;</td>
                          </tr>
                          <tr align="left" valign="top">
                            <td colspan="2"><a href="http://www.domainanme.com/path/path/..." target="_blank" class="table_content style8">http://www.domainanme.com/path/path/...</a></td>
                          </tr>
                          <tr align="left" valign="top">
                            <td>&nbsp;</td>
                            <td align="right" valign="middle"><table width="34%"  border="0" align="right" cellpadding="0" cellspacing="0">
                              <tr>
                                <td ><a class="bigbutton" href="#" onclick="this.blur(); return false;"><span class="bigbutton"><b>
                                  &nbsp;&nbsp;&nbsp;Answer&nbsp;&nbsp;&nbsp;</b></span></a></td>
                              </tr>
                            </table></td>
                          </tr>
                          <tr align="left" valign="top">
                            <td>&nbsp;</td>
                            <td align="right" valign="middle">&nbsp;</td>
                          </tr>
                        </table></td>
                        <td background="jsp/web/image/B_TABLE_RIGHT_BG.jpg"><img src="jsp/web/image/B_TABLE_RIGHT_BG.jpg" width="8" height="21"></td>
                      </tr>
                      <tr align="left" valign="top">
                        <td><img src="jsp/web/image/B_TABLE_C2.jpg" width="8" height="9"></td>
                        <td colspan="2" background="jsp/web/image/B_TABLE_BOTTOM_BG.jpg"><img src="jsp/web/image/B_TABLE_BOTTOM_BG.jpg" width="8" height="9"></td>
                        <td><img src="jsp/web/image/B_TABLE_C3.jpg" width="8" height="9"></td>
                      </tr>
                    </table></td>
                    <td rowspan="2"><img src="image/img_t_width_differ.jpg" width="20" height="4"></td>
                    <td colspan="3" rowspan="2" valign="top"><img src="jsp/web/image/img_t_width_differ.jpg" width="25" height="4">					

					
					<div id="ttags">                       
                      <input type=hidden id="selectionTag" value="<%=request.getAttribute("tag")%>"/>
                      <input type="hidden" id="index" value="<%=request.getAttribute("index")%>"/>					
                      <input type=hidden id='tabName' value="first"/>    
			    	  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr align="left" valign="top">
                          <td height="103"></td>
                          <td colspan="2" rowspan="2"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr align="left" valign="middle">
                                <td colspan="3"><table border="0" align="left" cellpadding="0" cellspacing="0">
                                    <tr align="left" valign="top">
                                      <td width="2" valign="bottom"><img src="image/IMG_BUT_NORMAL_c1.jpg" width="2" height="4"></td>
                                      <td width="53" align="left" valign="bottom" background="image/IMG_BUT_NORMAL_T.jpg"><img src="image/IMG_BUT_NORMAL_T.jpg" width="53" height="4"></td>
                                      <td width="2" align="left" valign="bottom"><img src="image/IMG_BUT_NORMAL_c2.jpg" width="2" height="4"></td>
                                      <td width="89" valign="bottom" background="image/IMG_BUT_O_T.jpg"><img src="image/IMG_BUT_O_T.jpg" width="89" height="4"></td>
                                      <td width="3" valign="bottom"><img src="jsp/web/image/IMG_BUT_O_C3.jpg" width="1" height="4"></td>
                                      <td width="3" valign="bottom" background="image/IMG_BUT_NORMAL_T.jpg"><img src="image/IMG_BUT_NORMAL_T.jpg" width="53" height="4"></td>
                                      <td width="3" valign="bottom"></td>
                                      <td width="3" valign="bottom"></td>
                                      <td width="3" valign="bottom"></td>
                                    </tr>
									<tr align="left" valign="top">
                                      <td valign="bottom" background="image/IMG_BUT_NORMAL_L.jpg"><img src="image/IMG_BUT_NORMAL_L.jpg" width="2" height="21"></td>
                                      <td align="center" class="table_content"><strong>
                                        <label onClick="showtag('ttags')">Tag</label>
                                      </strong></td>
                                      <td valign="bottom" background="image/IMG_BUT_NORMAL_L.jpg"><img src="image/IMG_BUT_NORMAL_R.jpg" width="2" height="21"></td>
                                      <td align="center" class="table_content"><strong>
                                        <label onClick="showmember('member')">Member</label>
                                      </strong></td>
                                      <td background="image/IMG_BUT_NORMAL_L.jpg"><img src="image/IMG_BUT_O_R.jpg" width="1" height="21"></td>
                                      <td class="table_content"><strong>
                                        <label onClick="showwebsites('websites')">Websites</label>
                                      </strong></td>
                                      <td background="image/IMG_BUT_NORMAL_L.jpg"><img src="image/IMG_BUT_NORMAL_L.jpg" width="2" height="21"></td>
                                      <td>&nbsp;</td>
                                      <td valign="middle">
                                      <form name="testform">
                                      <select  id="comboBox"  name="select" class="smalltext" onchange="changeCombo('select')">                                                                     
                                      </select>                                      
                                      </form>
                                      </td>
                                    </tr>
                              </table></td>
                            </tr>
                            <tr align="left" valign="middle">
                              <td width="5"><img src="jsp/web/image/img_c1.jpg" width="5" height="5"></td>
                              <td width="589" background="image/top.jpg"><img src="image/top.jpg" width="5" height="5"></td>
                              <td width="7"><img src="jsp/web/image/img_c4.jpg" width="5" height="5"></td>
                            </tr>
                            <tr align="left" valign="middle">
                              <td colspan="3"><span class="buleheading"><img src="image/img_width_white.jpg" width="51" height="7"></span></td>
                              </tr>
                            <tr align="left" valign="middle">
                              <td background="jsp/web/image/img_t-left.jpg"><img src="jsp/web/image/img_t-left.jpg" width="5" height="5"></td>
                              <td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
                                  <tr align="left" valign="middle">
                                    <td colspan="5" class="buleheading"><img src="image/img_t_width_differ.jpg" width="400" height="1"></td>
                                  </tr>
                                  <tr align="left" valign="middle">
                                    <td colspan="5" class="buleheading">Top members by week.</td>
                                  </tr>
                                  <tr align="center" valign="middle" class="username">
                                    <td width="35">watch</td>
                                    <td width="92" align="left" class="table_content">tags</td>
                                    <td width="61" colspan="3" align="left" class="table_content">Frequency</td>
                                  </tr>
                                  <tr align="center" valign="middle" bgcolor="#000000">
                                    <td colspan="2" bgcolor="#FFFFFF"><img src="image/b.jpg" width="100%" height="1"></td>
                                    <td colspan="3" align="left" bgcolor="#FFFFFF" class="table_content"><img src="image/b.jpg" width="100%" height="1"></td>
                                  </tr>
                                  
                                  <logic:iterate id="topTagList1" name="topsForm" property="topTagList">
                                  <tr align="center" valign="middle">
                                    <td valign="middle"><input type="checkbox" name="checkbox" value="checkbox"></td>
                                    <td align="left" class="login_b-t"><bean:write name="topTagList1" property="tag"/></td>
                                    <td colspan="3" align="left" valign="middle" class="table_content"><bean:write name="topTagList1" property="popularity"/></td>
                                  </tr>
                                 </logic:iterate>
                                 
                              </table></td>
                              <td background="jsp/web/image/img_t-right.jpg"><img src="jsp/web/image/img_t-right.jpg" width="5" height="5"></td>
                            </tr>
                            <tr align="left" valign="middle">
                              <td><img src="jsp/web/image/img_c2.jpg" width="5" height="5"></td>
                              <td background="jsp/web/image/img_t-bottom.jpg"><img src="jsp/web/image/img_t-bottom.jpg" width="5" height="5"></td>
                              <td><img src="jsp/web/image/img_c3.jpg" width="5" height="5"></td>
                            </tr>
                          </table></td>
                          </tr>
                        <tr align="left" valign="top">
                          <td bgcolor="#666666"></td>
                          </tr>
                      </table>  
					 </div> 
					  
					<div id ="member" style="display:none">  
					    
                      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr align="left" valign="top">
                          <td height="103"></td>
                          <td colspan="2" rowspan="2"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr align="left" valign="middle">
                                <td colspan="3"><table border="0" align="left" cellpadding="0" cellspacing="0">
                                    <tr align="left" valign="top">
                                      <td width="2" valign="bottom"><img src="jsp/web/image/IMG_BUT_NORMAL_c1.jpg" width="2" height="4"></td>
                                      <td width="53" align="left" valign="bottom"><img src="jsp/web/image/IMG_BUT_NORMAL_T.jpg" width="53" height="4"></td>
                                      <td width="2" align="left" valign="bottom"><img src="jsp/web/image/IMG_BUT_NORMAL_c2.jpg" width="2" height="4"></td>
                                      <td width="89" valign="bottom"><img src="image/IMG_BUT_O_T.jpg" width="89" height="4"></td>
                                      <td width="3" valign="bottom"><img src="jsp/web/image/IMG_BUT_O_C3.jpg" width="1" height="4"></td>
                                      <td width="3" valign="bottom" background="jsp/web/image/IMG_BUT_NORMAL_T.jpg"><img src="jsp/web/image/IMG_BUT_NORMAL_T.jpg" width="53" height="4"></td>
                                      <td width="3" valign="bottom"></td>
                                      <td width="3" valign="bottom"></td>
                                      <td width="3" valign="bottom"></td>
                                    </tr>
                                    <tr align="left" valign="top">
                                      <td valign="bottom"><img src="jsp/web/image/IMG_BUT_NORMAL_L.jpg" width="2" height="21"></td>
                                      <td align="center" class="table_content"><strong>
                                        <label onClick="showtag('ttags')">Tag</label>
                                      </strong></td>
                                      <td valign="bottom"><img src="jsp/web/image/IMG_BUT_NORMAL_R.jpg" width="2" height="21"></td>
                                      <td align="center" class="table_content"><strong>
                                        <label onClick="showmember('member')">Member</label>
                                      </strong></td>
                                      <td><img src="jsp/web/image/IMG_BUT_O_R.jpg" width="1" height="21"></td>
                                      <td class="table_content"><strong>
                                        <label onClick="showwebsites('websites')">Websites</label>
                                      </strong></td>
                                      <td><img src="jsp/web/image/IMG_BUT_NORMAL_L.jpg" width="2" height="21"></td>
                                      <td>&nbsp;</td>
                                      <td valign="middle">
                                      <form name="testform1">
                                      <select name="select1" class="smalltext" onchange="changeCombo('select1')">
                                      </select>
                                      </form>
                                      </td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle">
                                <td width="5"><img src="jsp/web/image/img_c1.jpg" width="5" height="5"></td>
                                <td background="jsp/web/image/img_t-top.jpg"><img src="jsp/web/image/img_t-top.jpg" width="5" height="5"></td>
                                <td width="5"><img src="jsp/web/image/img_c4.jpg" width="5" height="5"></td>
                              </tr>
                              <tr align="left" valign="middle">
                                <td background="jsp/web/image/img_t-left.jpg"><img src="jsp/web/image/img_t-left.jpg" width="5" height="5"></td>
                                <td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
                                    <tr align="left" valign="middle">
                                      <td colspan="4" class="buleheading">Top members by week.[Points: weekly/totl]</td>
                                    </tr>
                                    <tr align="center" valign="middle">
                                      <td colspan="4"><span class="buleheading"><img src="jsp/web/image/img_t_width_differ.jpg" width="400" height="1"></span></td>
                                      </tr>                                                                  
                                   
                                 
                                <logic:present name="topsForm" property="topMemberList">
                                  <logic:iterate id="topMemberListid" name="topsForm" property="topMemberList"> 
                                    <tr align="center" valign="middle">                                  
                                      <td><img src="<bean:write name="topMemberListid" property="avator"/>" width="50" height="50"></td>
                                      <td colspan="3" align="left" class="table_content"><p>User Name : <bean:write name="topMemberListid" property="userName"/><br>
                                      Total Award : <bean:write name="topMemberListid" property="userScore"/><br>Level : <bean:write name="topMemberListid" property="level"/><br>
                                      Rank : <bean:write name="topMemberListid" property="rank"/><br>
                                       Tags :                                                                                            
                                           <bean:write name="topMemberListid" property="tagsList"/>
                                        
                                       
                                        </p></td>
                                    </tr>                                   
                                    </logic:iterate>  
                                  </logic:present>  
                                    
                                    <tr align="center" valign="middle">
                                      <td>&nbsp;</td>
                                      <td colspan="3" align="right">&nbsp;</td>
                                    </tr>
                                    <tr align="center" valign="middle">
                                      <td>&nbsp;</td>
                                      <td colspan="3" align="center" class="username">
<%--                                      lt; 3 4 5 6 7 8 9 0 &gt;--%>
                                      </td>
                                    </tr>
                                </table></td>
                                <td background="jsp/web/image/img_t-right.jpg"><img src="jsp/web/image/img_t-right.jpg" width="5" height="5"></td>
                              </tr>
                              <tr align="left" valign="middle">
                                <td><img src="jsp/web/image/img_c2.jpg" width="5" height="5"></td>
                                <td background="jsp/web/image/img_t-bottom.jpg"><img src="jsp/web/image/img_t-bottom.jpg" width="5" height="5"></td>
                                <td><img src="jsp/web/image/img_c3.jpg" width="5" height="5"></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr align="left" valign="top">
                          <td bgcolor="#666666"></td>
                        </tr>
                      </table>
					  
					  </div> 

					  <div id ="websites" style="display:none">
					  
					    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr align="left" valign="top">
                            <td height="103"></td>
                            <td colspan="2" rowspan="2"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr align="left" valign="middle">
                                  <td colspan="3"><table border="0" align="left" cellpadding="0" cellspacing="0">
                                    <tr align="left" valign="top">
                                      <td width="2" valign="bottom"><img src="image/IMG_BUT_NORMAL_c1.jpg" width="2" height="4"></td>
                                      <td width="53" align="left" valign="bottom" background="image/IMG_BUT_NORMAL_T.jpg"><img src="image/IMG_BUT_NORMAL_T.jpg" width="53" height="4"></td>
                                      <td width="2" align="left" valign="bottom"><img src="jsp/web/image/IMG_BUT_NORMAL_c1.jpg" width="2" height="4"></td>
                                      <td width="89" valign="bottom" background="image/IMG_BUT_NORMAL_T.jpg"><img src="image/IMG_BUT_NORMAL_T.jpg" width="53" height="4"></td>
                                      <td width="3" valign="bottom" bgcolor="#B5733F"><img src="jsp/web/image/IMG_BUT_NORMAL_c2.jpg" width="2" height="4"></td>
                                      <td width="3" valign="bottom" background="image/IMG_BUT_O_T.jpg"><img src="image/IMG_BUT_O_T.jpg" width="53" height="4"></td>
                                      <td width="3" valign="bottom"><img src="jsp/web/image/IMG_BUT_O_C3.jpg" width="1" height="4"></td>
                                      <td width="3" valign="bottom"></td>
                                      <td width="3" valign="bottom"></td>
                                    </tr>
                                    <tr align="left" valign="top">
                                      <td valign="bottom" background="image/IMG_BUT_O_R.jpg"><img src="image/IMG_BUT_NORMAL_L.jpg" width="2" height="21"></td>
                                      <td align="center" class="table_content"><strong>
                                        <label onClick="showtag('ttags')">Tag</label>
                                      </strong></td>
                                      <td valign="bottom" background="image/IMG_BUT_O_R.jpg"><img src="image/IMG_BUT_NORMAL_R.jpg" width="2" height="21"></td>
                                      <td align="center" class="table_content"><strong>
                                        <label onClick="showmember('member')">Member</label>
                                      </strong></td>
                                      <td background="image/IMG_BUT_O_R.jpg"><img src="image/IMG_BUT_O_R.jpg" width="1" height="21"></td>
                                      <td align="left" class="table_content"><strong>
                                        <label onClick="showwebsites('websites')">Websites</label>
                                      </strong></td>
                                      <td background="image/IMG_BUT_NORMAL_L.jpg"><img src="image/IMG_BUT_NORMAL_L.jpg" width="2" height="21"></td>
                                      <td>&nbsp;</td>
                                      <td valign="middle">
                                        <form name="testform2">
                                          <select name="select2" class="smalltext" onchange="changeCombo('select2')">
                                          </select>
                                      </form></td>
                                    </tr>
                                  </table></td>
                                </tr>
                                <tr align="left" valign="middle">
                                  <td width="5"><img src="jsp/web/image/img_c1.jpg" width="5" height="5"></td>
                                  <td width="589" background="image/top.jpg"><img src="image/top.jpg" width="5" height="5"></td>
                                  <td width="7"><img src="jsp/web/image/img_c4.jpg" width="5" height="5"></td>
                                </tr>
                                <tr align="left" valign="middle">
                                  <td colspan="3"><span class="buleheading"><img src="image/img_width_white.jpg" width="51" height="7"></span></td>
                                </tr>
                                <tr align="left" valign="middle">
                                  <td background="jsp/web/image/img_t-left.jpg"><img src="jsp/web/image/img_t-left.jpg" width="5" height="5"></td>
                                  <td><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
                                      <tr align="left" valign="middle">
                                        <td colspan="5" class="buleheading"><img src="image/img_t_width_differ.jpg" width="400" height="1"></td>
                                      </tr>
                                      <tr align="left" valign="middle">
                                        <td colspan="5" class="buleheading">Top members by week.</td>
                                      </tr>
                                      <tr align="center" valign="middle" class="username">
                                        <td width="35">watch</td>
                                        <td width="92" align="left" class="table_content">tags</td>
                                        <td width="61" colspan="3" align="left" class="table_content">Frequency</td>
                                      </tr>
                                      <tr align="center" valign="middle" bgcolor="#000000">
                                        <td colspan="2" bgcolor="#FFFFFF"><img src="image/b.jpg" width="100%" height="1"></td>
                                        <td colspan="3" align="left" bgcolor="#FFFFFF" class="table_content"><img src="image/b.jpg" width="100%" height="1"></td>
                                      </tr>
                                      <logic:iterate id="topTagList1" name="topsForm" property="topTagList">
                                      <tr align="center" valign="middle">
                                        <td valign="middle"><input type="checkbox" name="checkbox2" value="checkbox"></td>
                                        <td align="left" class="login_b-t"><bean:write name="topTagList1" property="tag"/></td>
                                        <td colspan="3" align="left" valign="middle" class="table_content"><bean:write name="topTagList1" property="popularity"/></td>
                                      </tr>
                                      </logic:iterate>
                                  </table></td>
                                  <td background="jsp/web/image/img_t-right.jpg"><img src="jsp/web/image/img_t-right.jpg" width="5" height="5"></td>
                                </tr>
                                <tr align="left" valign="middle">
                                  <td><img src="jsp/web/image/img_c2.jpg" width="5" height="5"></td>
                                  <td background="jsp/web/image/img_t-bottom.jpg"><img src="jsp/web/image/img_t-bottom.jpg" width="5" height="5"></td>
                                  <td><img src="jsp/web/image/img_c3.jpg" width="5" height="5"></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr align="left" valign="top">
                            <td bgcolor="#666666"></td>
                          </tr>
                        </table>
					  </div>    
                    <!-- div websites closed -->					  </td>
                    </tr>
                  <tr align="left" valign="middle">
                    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                    </table>
                      <br>
                      <table border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr align="left" valign="top">
                          <td width="8"><img src="jsp/web/image/B_TABLE_C1.jpg" width="8" height="21"></td>
                          <td width="80" align="left" valign="middle" background="jsp/web/image/B_TABLE_TOP_BG.jpg" class="username"><img src="jsp/web/image/B_ASK.jpg" width="31" height="21"></td>
                          <td width="179" background="jsp/web/image/B_TABLE_TOP_BG.jpg"><img src="jsp/web/image/B_TABLE_TOP_BG.jpg" width="8" height="21"></td>
                          <td width="8"><img src="jsp/web/image/B_TABLE_C4.jpg" width="8" height="21"></td>
                        </tr>
                        <tr align="left" valign="top">
                          <td background="jsp/web/image/B_TABLE_LEFT_BG.jpg"><img src="jsp/web/image/B_TABLE_LEFT_BG.jpg" width="8" height="21"></td>
                          <td colspan="2" bgcolor="#EDFBFE"><table border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td colspan="2" align="left" valign="top"><img src="jsp/web/image/img_t_width_differ.jpg" width="250" height="1"></td>
                              </tr>
                              <tr>
                                <td colspan="2" align="left" valign="top" class="table_content">Enter a question </td>
                              </tr>
                              <tr align="center">
                                <td height="50" colspan="2" valign="top"><form name="form2" method="post" action="">
                                    <textarea name="textarea" cols="25" rows="5"></textarea>
                                </form></td>
                              </tr>
                              <tr>
                                <td align="left" valign="top" class="table_content">120 characters </td>
                                <td align="right" valign="middle"><table width="50%"  border="0" align="right" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td ><a class="bigbutton" href="#" onclick="this.blur(); return false;"><span class="bigbutton"><b>
                                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></span></a></td>
                                    </tr>
                                </table></td>
                              </tr>
                          </table></td>
                          <td background="jsp/web/image/B_TABLE_RIGHT_BG.jpg"><img src="jsp/web/image/B_TABLE_RIGHT_BG.jpg" width="8" height="21"></td>
                        </tr>
                        <tr align="left" valign="top">
                          <td><img src="jsp/web/image/B_TABLE_C2.jpg" width="8" height="9"></td>
                          <td colspan="2" background="jsp/web/image/B_TABLE_BOTTOM_BG.jpg"><img src="jsp/web/image/B_TABLE_BOTTOM_BG.jpg" width="8" height="9"></td>
                          <td><img src="jsp/web/image/B_TABLE_C3.jpg" width="8" height="9"></td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr align="left" valign="middle">
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td colspan="3">&nbsp;</td>
                    </tr>
                  <tr align="left" valign="middle">
                    <td valign="top"><br>                      </td>
                    <td>&nbsp;</td>
                    <td colspan="3" valign="top">&nbsp;</td>
                  </tr>
                  <tr align="left" valign="middle">
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td colspan="3" valign="top">&nbsp;</td>
                  </tr>
                  <tr align="left" valign="middle">
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td colspan="2" align="left" valign="top">&lt;<%@include file="footer.jsp" %></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
    <td width="50%" bgcolor="#CCCCCC">&nbsp;</td>
  </tr>
  <tr align="left" valign="top">
    <td bgcolor="#CCCCCC">&nbsp;</td>
    <td bgcolor="#CCCCCC">&nbsp;</td>
    <td bgcolor="#CCCCCC">&nbsp;</td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
function showtag(a)
{
	document.getElementById(a).style.display = "";
	document.getElementById("member").style.display = "none";	
	document.getElementById("websites").style.display = "none";	
	document.getElementById("tabName").value = "first";
}
function showmember(b)
{
	document.getElementById(b).style.display = "";
	document.getElementById("ttags").style.display = "none";	
	document.getElementById("websites").style.display = "none";	
	document.getElementById("tabName").value = "second";
}

	
function showwebsites(c)
{
	document.getElementById(c).style.display = "";
	document.getElementById("member").style.display = "none";	
	document.getElementById("ttags").style.display = "none";	
	document.getElementById("tabName").value = "third";
}
</script>
